package com.bdqn.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value="/user")
public class UserController {
    private Logger logger = Logger.getLogger(UserController.class);


//     @RequestMapping(value="/view")
//    public String  view() {
//         logger.info("查询用户详情");
//         return null;
//     }

    /**
     * 查询用户详情
     */
     @RequestMapping(value="/view",method= RequestMethod.GET)
//     @GetMapping("/view")
    public String view() {
        logger.info("查询用户详情");
        return null;
    }

    /**
     * 保存用户信息
     */
     @RequestMapping(value="/save",method= RequestMethod.POST)
//    @PostMapping("save")
    public String save() {
        logger.info("保存用户信息");
        return null;
    }

}
